#include <iostream>
#include "server.h"
#include "TCP.h"
#include <stdio.h>
#include <stdlib.h>

using namespace std;

int main(int argc,const char* argv[]){

    if (argc < 2) {
        perror("ERROR, no port provided\n");
        exit(1);
    }

    Server servidor;

    servidor.conectar(argv);

    servidor.aceptar();

    return 0;

}
